/* AdminDashboard.css */

.admin-dashboard {
    display: flex;
    min-height: 100vh;
    background-color: #f0f2f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.admin-sidebar {
    width: 220px;
    background-color: #001529;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.admin-sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.admin-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-sidebar nav ul li {
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.admin-sidebar nav ul li:hover {
    background-color: #1890ff;
}

.admin-sidebar nav ul li.active {
    background-color: #1890ff;
    font-weight: bold;
}

.admin-main-content {
    flex-grow: 1;
    padding: 24px;
    overflow: auto;
}

.admin-header {
    background-color: white;
    padding: 16px 24px;
    margin-bottom: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.admin-header h1 {
    margin: 0;
    font-size: 1.8rem;
}

.admin-card {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.admin-table th {
    background-color: #fafafa;
    font-weight: 500;
}

.admin-table tbody tr:hover {
    background-color: #f5f5f5;
}

.btn-delete {
    background-color: #ff4d4f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-delete:hover {
    background-color: #d9363e;
}

.error-message {
    color: #ff4d4f;
    background-color: #fff1f0;
    border: 1px solid #ffa39e;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 16px;
} 